using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace ConsoleApplication2.Models.Mapping
{
    public class DLC_tmpDateMap : EntityTypeConfiguration<DLC_tmpDate>
    {
        public DLC_tmpDateMap()
        {
            // Primary Key
            this.HasKey(t => t.id);

            // Properties
            // Table & Column Mappings
            this.ToTable("DLC_tmpDate");
            this.Property(t => t.id).HasColumnName("id");
            this.Property(t => t.Date).HasColumnName("Date");
        }
    }
}
